package com.hktf.moedokilock.widget;

import android.content.Context;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.TextView;

import com.hktf.moedokilock.R;

/**
 * @author 陈大专
 * @time 2024/6/13 20:04
 * @des
 **/
public class ServiceSmallItemView extends FrameLayout {
    public ServiceSmallItemView(Context context) {
        super(context);
        init();
    }
    private TextView tv;
    private void init(){
//        View view = View.inflate(getContext(), R.layout.service_small_item,null);
//        tv=view.findViewById(R.id.tv);
//        addView(view);
    }
    public void settext(String text){
        tv.setText(text);
    }
}
